package com.zpark;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;


/**
 * @author xiaoyu
 * @version 1.0 2022/8/30
 */

@SpringBootApplication
// 开启扫描Spring配置文件并且加载
@ImportResource("classpath:spring.xml")
public class ImportSpringConfigApplication {
    public static void main(String[] args) {
        SpringApplication.run(ImportSpringConfigApplication.class, args);
    }
}
